fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

hash_set

lock_free.hash_set

hash_set -- a Set implementation based on lock_free.Map

Type Parameters

K:property.hashable[src]

Functions

add(k K) => container.Set K[Redefinition of  container.Set.add][src]
add new element k to this set.

NYI: UNDER DEVELOPMENT: this should be integrated in the mutate effect!
as_list => list K[Redefinition of  container.Set.as_list][src]
list representation of values in this set
contains(k K) => bool[Redefinition of  container.Set.contains][src]
does this set contain the given value?
remove(k K) => container.Set K[src]
remove an element k from the set if it exists.
return the same set if it does not exist.

Type Features

type.new(s Sequence K) => container.Set K[Redefinition of  container.Set.type.new][src]
create a new Set from a sequence of elements
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
last changed: 2026-11-23